<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="./account.css">
    <link rel="stylesheet" href="../../js/plugins/layer1/skin/layer.css">

</head>
<body :controller="container">
    <div>
        <div class="account-wrap">
            <div class="account-info">
                <table>
                    <tr>
                        <th>供应商名称：</th>
                        <td>{{form.name}}</td>
                    </tr>
                    <tr>
                        <th>供应商编号：</th>
                        <td>{{form.code}}</td>
                    </tr>
                    <tr>
                        <th>供应商类别：</th>
                        <td>{{form.categoryName}}</td>
                    </tr>
                    <tr>
                        <th>联系人：</th>
                        <td>{{form.contacts}}</td>
                    </tr>
                    <tr>
                        <th>联系电话：</th>
                        <td>{{form.phone}}</td>
                    </tr>
                    <tr>
                        <th>主营业务：</th>
                        <td>{{form.mainBiz}}</td>
                    </tr>
                    <tr>
                        <th>供应商描述：</th>
                        <td>{{form.description}}</td>
                    </tr>
                </table>
            </div>
			
			<div class="binding clearfix">
				<div class="leftName">绑定银行卡：</div>
				<div class="binding-table">
					<table>
						<thead>
							<tr>
								<th>银行名称</th>
								<th>银行卡号</th>
								<th>状态</th>
							</tr>
						</thead>
						<tbody>
							<tr>
								<td>{{form.bankName}}</td>
								<td>{{form.cardNo}}</td>
								<td>{{form.bindStatus | bindStatusFilter}}</td>
							</tr>
						</tbody>
					</table>
					
					<div class="binding-info" :visible="form.bindStatus != 1">
						<a href="javascript:;" :click="bindCard">立即绑卡</a>
						<span>说明：需绑卡后才可发布商品</span>
					</div>
				</div>
			</div>
			
			
            <div class="user-id">
                <table>
                    <tr>
                        <th>登录账户：</th>
                        <td>{{form.username}}</td>
                    </tr>
                    <tr>
                        <th>登录密码：</th>
                        <td>
                            <span>******</span>
                            <a href="javascript:;" :click="showLayer">修改密码</a>
                        </td>
                    </tr>
                </table>
            </div>
        </div>


    </div>
    <script data-main="account" src="../../javascript/require.js" ></script>
</body>
</html>